/*
 * led_indicate.cpp
 *
 *  Created on: 09.05.2013
 *      Author: Roma Jam
 */


#include "led_indicate.h"

TreeLed_t TreeLed;

void TreeLed_t::Init(uint16_t ATopValue){
    FirstBranch.Init(LED_GPIO, LED1, TIM3, ATopValue, 1, 3, false);
    SecondBranch.Init(LED_GPIO, LED2, TIM3, ATopValue, 1, 4, false);
}

void TreeLed_t::Task(){
    FirstBranch.Task();
    SecondBranch.Task();
}
